[VTD] check BIOS settings before enabling interrupt remapping or x2apic
authorAllen Kay <allen.m.kay@intel.com>
Sat, 2 Apr 2011 14:49:25 +0000 (15:49 +0100)
committerAllen Kay <allen.m.kay@intel.com>
Sat, 2 Apr 2011 14:49:25 +0000 (15:49 +0100)
commit0be477c900b73d6a2d7cceb0cded9df0d48179f2
treefe6b1ce9708d47c95e5b892b6c27943d849e1174
parent9da48f2428c5970f0350c74e07c4ca479d3fa06d
[VTD] check BIOS settings before enabling interrupt remapping or x2apic

Check flags field in ACPI DMAR structure before enabling interrupt
remapping or x2apic.  This allows platform vendors to disable
interrupt remapping or x2apic features if on board BIOS does not
support them.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/arch/x86/apic.c
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/iommu.h
xen/include/xen/iommu.h